from PyQt5.QtWidgets import QVBoxLayout, QPushButton, QWidget


class PlatInfo(QWidget):
    def __init__(self):
        super().__init__()
        # self.center
        boxLayout = QVBoxLayout()
        btn = QPushButton("PlatInfo")
        boxLayout.addWidget(btn)
        self.setLayout(boxLayout)

    def showPlatInfo(self, ipAddress):
        print()
        print("IP地址是=={}".format(ipAddress))
